file to image javafx

54

file to image javafx -

  Image image = new Image(new FileInputStream(selectedFile));
  previewPicture.setImage(image);

Comments

Submit
0 Comments